package com.three.vip.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.three.core.entity.FrontUser;
import com.three.core.entity.ProductOrder;
import com.three.core.entity.UserBalanceLog;
import com.three.core.entity.UserIntegralLog;
import com.three.core.vo.R;
import com.three.vip.vo.AddCarVo;
import com.three.vip.vo.CustomerSearchFormVo;

import java.util.List;

/**
 * @author ：JinShiYan
 * @date ：Created in 2025/3/12 17:22
 * @description：
 * @modified By：
 * @version:
 */
public interface FrontUserService {
    R<IPage<FrontUser>> selectByCondition(CustomerSearchFormVo customerSearchFormVo);

    R<FrontUser> getCustomerByName(String userName);

    R<FrontUser> getUserInfo();

    R<FrontUser> updateInfo(FrontUser frontUser);


    R<List<UserBalanceLog>> selectBalanceDetail(Integer userId);

    R<List<UserIntegralLog>> selectCreditsDetail(Integer userId);

    R updateFrontUserStatus(FrontUser frontUser);

    R insertFrontUser(AddCarVo addCarVo);
}
